{% extends "layout.html" %}
{% block body %}




{% from "security/_custommacros.html" import render_field_with_errors, render_field,display_field_errors %}

  <p>EcotaxoServer Version : 1.0.0 2019-01-22</p>
{# Log :
2019.01.22 : V 1.0.0
    Initial Version

#}

	<div class="row" id="content">
		<div class="col-sm-3" style="margin-left: 5px">

		</div>

		<div class="col-sm-5">

    <form class="form-signin" action="{{ url_for_security('login') }}" method="POST" name="login_user_form">
  {{ login_user_form.hidden_tag() }}

				<h3>Log in</h3>

				<div class="form-group">
        <label for="inputEmail" class="sr-only">Email address</label>
        <input name="email" id="email" class="form-control" placeholder="Email address" required autofocus>
        {{ display_field_errors(login_user_form.email) }}
				</div>
			
				<div class="form-group">
        <label for="inputPassword" class="sr-only">Password</label>
        <input type="password" name="password" id="password" class="form-control" placeholder="Password" required>
					{{ display_field_errors(login_user_form.password) }}
				</div>

        <div class="checkbox">
          <label>
            <input  id="remember" name="remember" type="checkbox" value="y"> Remember me
          </label>
        </div>
					
        <button class="btn btn-lg btn-primary btn-block" type="submit"><span class="fas fa-check"></span>&nbsp;&nbsp; Log in</button>
{#  {{ render_field(login_user_form.next) }}#}

</form>
{% include "security/_menu.html" %}


		</div>
	</div> <!-- /content -->
{% endblock %}